﻿<{include file="app/header.tpl"}>

<script>

function enter_submit_apply(){
    if (!$('.shareUserName').val()) {
        alert('请输入收货人姓名');
        return false;
    }
    var mobileNumberReg = /^(13[0-9]|15[012356789]|17[0678]|18[0-9]|14[57])[0-9]{8}$/,
        oNumVal = $('.mobile').val();
    if (!mobileNumberReg.test(oNumVal)) {
         alert('请输入正确的手机号码');
         return false;
    }
}
function enter_submit_address(){
        submit_apply();
}

</script>
<div>

    <!-- 提交姓名手机号码开始 -->
     <form action="" method="POST" class="join" onsubmit="return enter_submit_apply();">
        <p class="gray"><img src="/resource/wei/imgs/share_join_img1.png" width="100%" alt=""></p>
        <p class="text"><input required type="text" name="shareUserName" class="shareUserName" placeholder="请填写姓名"></p>
        <p class="text"><input required type="text" name="mobile" class="mobile" placeholder="请填写手机号码"></p>
         <p class="submit">
             <input type="submit" class="submitbtn" onclick="return submit_apply();" name="submit" value="申请成为健康大使
">
         </p>
    </form>
    <!-- 提交姓名手机号码结束 -->

</div>

<{include file="app/footer.tpl"}>
